package com.ice.body.business.service.impl;

import com.ice.base.dao.BaseDao;
import com.ice.base.service.impl.BaseServiceImpl;
import com.ice.body.business.dao.WarningMapper;
import com.ice.body.business.model.WarningModel;
import com.ice.body.business.service.WarningService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created with GuoYanBin.
 * Description:临期预警 serviceImpl
 * Date: 2022-04-11
 * Time: 02:09
 */
@Service
public class WarningServiceImpl extends BaseServiceImpl<WarningModel> implements WarningService {
    @Resource 
    private WarningMapper dao;
    @Override
    public BaseDao<WarningModel> getBaseDao() {
        return dao;
    }

    @Override
    public Integer done(String id) {
        return dao.done(id);
    }
}
